package com.wht.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 车辆表
 * </p>
 *
 * @author wuhaotian
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Car对象", description="车辆表")
public class Car implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "车辆ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "vin")
    private String carVin;

    @ApiModelProperty(value = "品牌")
    private String carBrand;

    @ApiModelProperty(value = "车系ID")
    private String carSeries;

    @ApiModelProperty(value = "车辆系列名")
    private String carSeriesName;

    @ApiModelProperty(value = "车型ID")
    private String carModel;

    @ApiModelProperty(value = "产品编码")
    private String carModelCode;

    @ApiModelProperty(value = "基础车型")
    private String carModelBase;

    @ApiModelProperty(value = "车辆型号名")
    private String carModelName;

    @ApiModelProperty(value = "发动机类型")
    private String engine;

    @ApiModelProperty(value = "发动机号")
    private String engineNo;

    @ApiModelProperty(value = "是否vip 0 不是 1是")
    private String isVip;

    @ApiModelProperty(value = "车主ID")
    private String ownerId;

    @ApiModelProperty(value = "购车发票照片")
    private String invoicePhoto;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @ApiModelProperty(value = "身份证号")
    private String identityCard;

    @ApiModelProperty(value = "组织机构号")
    private String organization;

    private Integer addFlag;

    @ApiModelProperty(value = "车牌号")
    private String carNumber;

    @ApiModelProperty(value = "终端ID")
    private String terminalId;

    @ApiModelProperty(value = "通信号")
    private String autoTerminal;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "STD时间")
    private Date salesDate;

    @ApiModelProperty(value = "经销商ID")
    @TableField("T_ID")
    private Long tId;

    @ApiModelProperty(value = "aak销售状态")
    @TableField("MB_SALES_STATUS")
    private Integer mbSalesStatus;

    @ApiModelProperty(value = "aak销售日期-经销商到用户")
    @TableField("MB_SALES_DATE")
    private Date mbSalesDate;

    @ApiModelProperty(value = "STD销售状态")
    @TableField("SALES_STATUS")
    private Integer salesStatus;

    @ApiModelProperty(value = "终端来源(0:东风 1:F9)")
    private Integer tboxType;

    @ApiModelProperty(value = "车辆是否被绑定过，0未被绑定过 1绑定过")
    private String isBind;

    @ApiModelProperty(value = "燃料标识别：1:燃油车；2：燃气车")
    private String fuel;

    private String ps;

    private String emissionCode;

    private String emissionName;

    private Integer definedType;

    private Integer isDefined;

    private String frontAxleFactoryOne;

    private String frontAxleTypeOne;

    private String rearAxleFactoryOne;

    private String rearAxleTypeOne;

    private String frontAxleFactoryTwo;

    private String frontAxleTypeTwo;

    private String rearAxleFactoryTwo;

    private String rearAxleTypeTwo;

    private String vfactory;

    private Integer ishowwater;

    @ApiModelProperty(value = "dms同步数据时间")
    private Date dmsSyncTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据来源：0-历史数据、1-DMS同步、2-TSP同步、3-车辆向TA注册、4-手动添加")
    private Integer dataSource;

    @ApiModelProperty(value = "车联网flag  1：带车联网配置；2：不带车联网配置")
    private Integer clwflag;

    @ApiModelProperty(value = "车辆信息是否已经补全, 1: 已经补全")
    private Integer extInfoOk;

    @ApiModelProperty(value = "车系(基础车型)")
    @TableField("vehicleCode")
    private String vehicleCode;

    @ApiModelProperty(value = "车辆类型(整车平台)")
    @TableField("vehicleType")
    private String vehicleType;


}
